// index.dart

import 'package:fusion_one/redux/reducers/oss/ossReducer.dart';
import 'package:fusion_one/redux/reducers/oss/stsReducer.dart';
import 'package:fusion_one/redux/reducers/userReducer.dart';

import '../states/index.dart';
import 'tokenReducer.dart';

AppState reducers(AppState state, action) {
  return AppState(
    token: tokenReducer(state.token, action),
    userInfo: userReducer(state.userInfo, action),
    stsToken: stsTokenReducer(state.stsToken, action),
    ossConfig: ossConfigReducer(state.ossConfig, action),
  );
}
